spring lock

a lock in which the bolt is shot automatically by a spring

See spring lock in American Heritage Dictionary 4

noun
A lock in which the bolt shoots automatically by means of a spring.
link/cite print suggestion box