Javadoc.
Added a test case.
Added a null check, for the special case where the lock delay expires and the player presses hard drop on the same frame.