Kobe Bryant's 19-year-old daughter is getting court-ordered protection from an alleged stalker ... who her team says has an obsession with her and with guns.
Natalia Bryant got a judge to sign off on a temporary restraining order against 32-year-old Dwayne Kemp.
TMZ broke the story ... Natalia claims Kemp has been under the delusion they're in a relationship ... she says the harassment has been going on for 2 years, and escalating.