Is it possible to lock the form in edit mode?