There's a good little Collins gems book
https://www.amazon.co.uk/SAS-Self-Defen ... 0004723015
Explains the legalities and shows a huge range of every day objects which have "alternative" uses

obviously we can't discuss them here due to our house rules but flash spray with bleach cleans the bathroom very well indeed for example especially in the times of covid...
Or a small dry powder fire extinguisher can help you put out a house fire it makes one hell of dusty cloud so care should be taken in confined spaces as inhaling it isn't pleasant my wife put out a car fire with one and she was coughing her guts up for hours as she got a good dose of powder blown back at her (and we won't go on about the side effects a few hours later as mono amonium phosphate has a laxative effect ) being a prepper it's not a bad item to have should you need to escape a fire at night time .. mines mounted at the top of the landing on its wall bracket
There is offender marker spray but even then it's borderline legal and might antagonise an intruder who doesn't like being painted red.. and you have to be in close proximity to them
Pepper / CS is classed as a firearm in the UK
https://www.patrolstore.com/Farb-Gel-Cr ... Spray.html
You did the right thing ....
Consider a personal alarm pull pin drop down stairs or
hang out of window or place on outside sill if you've not got a intruder alarm...
That said you can pick a basic home alarm system up for £100 ISH ours is battery powered has 2 door sensors and 2 pirs which covers all our downstairs at night. If you take the keypad with you it has a Panic mode too... With a bright red siren box mounted on the wall outside as an additional deterrent
Solar pir lights outside highlight skulking scrotes
Embrace horticulture if you can grow roses and Holly under your windows outside
You can also get lockable opening restrictors for Windows just keep the keys handy should you need to use them as a fire escape
https://www.amazon.co.uk/Xpork-Window-R ... 2452&psc=1
If your bedroom door is solid make it a strong hold to put a firm barrier between you and the intruder
Put some longer screws in the hinges and unless you want to look like a dominatrix and fit some decent door bolts to the bedroom door a decent door wedge or a door jamb unit which is quick to secure without looking too out of place or a pair of lockable door knobs key outside and a thumb turn in your room should keep you safe until help arrives
https://www.amazon.co.uk/Viper-Door-Loc ... 07&sr=8-17
https://www.screwfix.com/p/era-door-han ... lsrc=aw.ds