What are the legal aspects of whether a 17-year-old teenager has the right to put a lock/latch at his own expense in his own room in an apartment and whether parents can restrict or prohibit this according to the law?