Resource Locking problems