Toggle Locked now works in template aswell