checking for locking mechanisms