Add force option to lock()