Lock on resign active instead of enter background

This means that the app snapshot when entering background is the lock screen instead of whatever content was currently being displayed. This also means that you lock when locking the device, which is probably also desired behavior.