Create LockType.java

enumerated data type to implement lock