lock

open fun lock()

Locks the file input (disabling all buttons except a cancel button).