Added multiple lock methods

More ways of locking and unlocking. Device administrator privileges can
be granted/revoked from main activity.