Unfortunately, Mini Mouse Macro will not playback macro's when the system is locked. It needs the operating system to respond to what the macro is doing. If Windows is in a 'locked' state then it does not respond in a way that this application is expecting. Sorry you are going to have to find something else to work with when the system is locked. Other than things like remote scripting, perhaps PowerShell, I'm not aware of any small applications like mine that will work.