If you don't feel safe in your apartment, immediately address any security concerns with your landlord or property manager.
Request repairs or upgrades for faulty locks or inadequate lighting, and consider installing additional security measures such as a peephole or deadbolt lock.