Resource locking application