Is it possible to require the pattern unlock only during certain times? For example, while I'm at work, I don't want to require the pattern unlock, however, anytime I'm not at work I do.
Is this possible?
Sure. If you use automation app like Tasker, you can make your phone to disable screen guard, if it detects you are in your office. Detecting your location can be achieved in many ways. You could use any WiFi, if it can be used as a reference or rely on cell id, defining a radius.
Please see a guide aptly named as Location without tears. It explains the various ways with which the Tasker can identify your location. It goes more explaining the pros and cons, the trade off between the battery life and accuracy etc.
I use Tasker in my mobile to reduce all volumes when I am in the vicinity of my office. I did this by creating a profile and choosing the
In the next screen
When I pressed scan Tasker started to log near by cell tower's id. I left it for a while and walked around my office so that it will gather maximum ids. I initially thought Tasker only retains last eight ids, but when I exported the profile to XML, I could see many entries. Hence the more time you keep it scanning and more walk around you make, more will be probability of successfully recognising your location.
Well that's only half job done. I then assigned an action that the Tasker can perform when this profile is active. There are two kind of tasks - one is called entry task and other is called exit task. I used
Yes it is possible to enanble and disable the phone's key gaurd (phone lock) depending on various context's (Example, when in office)
I have personally setup my phone to do it. My setup uses Tasker (a paid automation app in Playstore) to identify if I am in office using an approximation of my phones GPS location co-ordinates And then I use Secure Settings (A Free Plugin for Tasker) which has the capability to enable and disable the phones key-gaurd
Note - System Settings will require root to be able to toggle the keygaurd.