A simple, open-source program to keep your PC active and open for a specified amount of time, then automatically lock your computer.
LOCTight was inspired by a real-world need: a professor who struggled to keep their computer awake during lectures, but also wanted the machine to lock automatically when stepping away. This tool is designed to solve exactly that problem—keeping your computer awake when you need it, and locking it when you don't.
- Keeps your computer active for a user-defined period
- Automatically locks your workstation after the timer expires
- Extensively tested on Windows
- macOS and Linux support coming soon!
LOCTight is released under the MIT License, so you are free to use, modify, and distribute it.
Need custom features or branding for your company or school?
Visit loctight.dev for a quote on customizing the software’s aesthetics or functionality to fit your organization’s needs.
Customizations can include:
- Custom timer durations and scheduling options
- Additional capabilities such as notifications, reporting, or integrations
- Enhanced security features
- Unique branding and user interface adjustments
- Any other functionality your organization requires
If you encounter bugs, have feature requests, or need support, please use the GitHub Issues page for this repository.
This helps us track and resolve problems efficiently, and allows the community to contribute solutions and suggestions.
We welcome contributions from the community!
If you have ideas for new features, improvements, or bug fixes, feel free to fork the repository and submit a pull request.
Some ideas for contributions include:
- Adding new timer options or scheduling features
- Implementing additional platform support (macOS, Linux)
- Expanding functionality with new capabilities
- Improving the user interface or accessibility
Check the issues page for open requests or to suggest your own.
- Clone or download this repository.
- Ensure you have Python 3 installed on your machine.
- You can download Python from python.org.
- Install the required dependencies by running:
pip install pyautogui ttkbootstrap darkdetect
- Run
loctight.py
with Python 3. - Follow the on-screen instructions.
MIT License. See LICENSE for details.
For custom builds, or business inquiries, visit loctight.dev.