Locking by means of a pawl or pawl-like tongue