app locking and submitting works