Arrangements for locking the bearings