Focus Lock is a modern, system-wide file and application locker for Windows 11 designed to help you maintain focus and privacy. Unlike simple file hiders, Focus Lock physically secures your files using NTFS permissions while leaving a "Secure Shortcut" on your desktop for easy, password-protected access.
- ๐ก๏ธ Secure Shortcuts: Your files are hidden and locked, replaced by a secure shortcut. Click the shortcut, enter your password, and the file opens instantly.
- ๐ง Smart Auto-Lock: The intelligent Watchdog detects when you close the file or application (using Window Title and Process heuristics) and instantly re-locks it in the background.
- ๐จ Modern UI: built with specific Windows 11 aesthetics in mind using
customtkinter. - ๐ Military-Grade Logic:
- NTFS Deny Permissions: Files are physically locked at the filesystem level.
- Data Obfuscation: Your database of locked items is encrypted and hidden to prevent tampering.
- Password Hashing: Your master password is securely hashed using
bcrypt.
- โก Zero Friction: No need to open the main app to access files. Just click your file, type password, and go.
- Prerequisites: Python 3.10+
- Install Dependencies:
pip install -r requirements.txt
- Run the App:
python main.py
- Set Master Password: On first run, create a secure password.
- Lock a File: Click "+ Lock File" and select any file (Videos, Docs, Exes).
- The file will be "replaced" by a Lock Icon shortcut.
- Access a File: Double-click the locked shortcut. Enter your password in the popup.
- The file opens immediately.
- When you close the file window, it automatically re-locks.
- Release All: Use the "Unlock" button in the dashboard to permanently unlock items.
- Safe Uninstall: To remove the app, DO NOT just delete the folder. Run the included
Safe Uninstallscript (or check the Dashboard footer) to ensure all your files are unlocked and restored to normal before removal.
Built for Windows 11