Living in apartments are alot different than houses. What are some safeguards that people can take to make it more livable?

For example:
Switching out new deadbolt
A way to lock windows better?
Motion detectors to alarm when sleeping
Video cameras (in app + one in hallway hidden)
Weapons

I have NEVER lived in one before. Do you suggest anything else?