locking (2 Resources)