Display errors on locking