Added Lock

Added the option in the setting menu to lock the frame.
Added Lock

Added an option in the settings to lock the window